[IA64] dump_stack() for debug.
authorawilliam@xenbuild.aw <awilliam@xenbuild.aw>
Fri, 24 Mar 2006 17:38:41 +0000 (10:38 -0700)
committerawilliam@xenbuild.aw <awilliam@xenbuild.aw>
Fri, 24 Mar 2006 17:38:41 +0000 (10:38 -0700)
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
xen/arch/ia64/linux-xen/process-linux-xen.c
xen/include/asm-ia64/linux-xen/asm/processor.h

index 0f7b403dcaea349c6d25f8031913ce9d601823d4..22c56e56a26bfaced8a9417068e325a673c3043d 100644 (file)
@@ -102,7 +102,6 @@ show_stack (struct task_struct *task, unsigned long *sp)
        }
 }
 
-#ifndef XEN
 void
 dump_stack (void)
 {
@@ -110,7 +109,6 @@ dump_stack (void)
 }
 
 EXPORT_SYMBOL(dump_stack);
-#endif
 
 #ifdef XEN
 void
index 2d2642f6660e408b0d38cb3c3d3998c3f1432bec..1a713f4a0d34266a78dca8ec0e45a9e7d1456db7 100644 (file)
@@ -438,6 +438,9 @@ extern void __ia64_save_fpu (struct ia64_fpreg *fph);
 extern void __ia64_load_fpu (struct ia64_fpreg *fph);
 extern void ia64_save_debug_regs (unsigned long *save_area);
 extern void ia64_load_debug_regs (unsigned long *save_area);
+#ifdef XEN
+extern void dump_stack(void);
+#endif
 
 #ifdef CONFIG_IA32_SUPPORT
 extern void ia32_save_state (struct task_struct *task);